package java56_7.ex;

import java.util.Scanner;

public class Exctest2 {
	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		try {
			System.out.println("intput i");
			int i = sc.nextInt();
			System.out.println("input j");
			int j = sc.nextInt();
			int shang = i / j;
			System.out.println("结果是：" + shang);
		} catch (NullPointerException e) {
			System.out.println("出现错误了");
			e.printStackTrace();
		}
		System.out.println("计算结束了！！！");

	}
}
